package com.woniu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author QiuPeng
 * @since 2022-10-12
 */
@Getter
@Setter
  @TableName("k_goods_order")
@ApiModel(value = "GoodsOrder对象", description = "")
public class GoodsOrder implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("商品的数量")
      private Integer goodsNum;

      @ApiModelProperty("商品的总价")
      private BigDecimal goodsTotalPrice;

      @ApiModelProperty("商品id")
      private String goodsId;
      @ApiModelProperty("订单id")
      private String orderId;

  /*    @ApiModelProperty("订单详细表的id")
      private String detailOrderId;
*/
      @ApiModelProperty("主键")
      @TableId(value = "id" ,type = IdType.ASSIGN_ID)
        private Integer id;
}
